package com.sc.nft.entity.vo.merchantPledgeTask;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.UserMerchantPledgeTaskStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class TreasureRecordDetailsVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String pledgeName;

    @ApiModelProperty(value = "挖宝数量")
    private Integer pledgeCount;

    @ApiModelProperty(value = "质押状态")
    private UserMerchantPledgeTaskStatusEnum status;

    @ApiModelProperty(value = "剩余时间")
    private Integer remainingDay;

    @ApiModelProperty(value = "藏品图片")
    private String collectionImage;

    @ApiModelProperty(value = "奖励发放次数")
    private Integer rewardsCount;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "退出时间时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date exitTime;

    @ApiModelProperty(value = "是否冻结")
    private Boolean isFrozen;


    @ApiModelProperty(value = "下次奖励发放时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date nextRewardsTime;

    @ApiModelProperty(value = "奖励列表(累计)")
    private List<MerchantPledgeCollectionRewardsVO> rewardsList;

    @ApiModelProperty(value = "藏品列表")
    List<MerchantPledgeTaskUserCollectionVO> userCollectionList;
}
